// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ILocalResourceManager.cs" company="AzureContrib (Open source library http://azurecontrib.codeplex.com)">
//   Microsoft Public License (Ms-PL)
// </copyright>
// <summary>
//   A manager for local resources.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using AzureContrib.WindowsAzure.ServiceRuntime;

namespace AzureContrib.WindowsAzure.StorageClient
{
	/// <summary>
	/// A manager for local resources.
	/// </summary>
	public interface ILocalResourceManager
	{
		/// <summary>
		/// Get a set of <see cref="ILocalResource"/>.
		/// </summary>
		/// <param name="localResourceCacheName">The name of the local resource to get data for.</param>
		/// <returns>The instance of the <see cref="ILocalResource"/>.</returns>
		/// <exception cref="CloudDriveManagerException">Thrown if the local resource could not be fetched.</exception>
		ILocalResource GetLocalResource(string localResourceCacheName);
	}
}